﻿// Copyright (c) MASA Stack All rights reserved.
// Licensed under the Apache License. See LICENSE.txt in the project root for license information.

namespace Masa.Auth.Service.Admin.Application.Subjects.Queries;

public class UserByPhoneQueryValidator : MasaAbstractValidator<UserByPhoneQuery>
{
    public UserByPhoneQueryValidator()
    {
        RuleFor(query => query.PhoneNumber).Required().Phone();
    }
}